package org.link.bean;

import java.util.Arrays;

/**
 * 
 * project_name:springlearn
 * package_name:org.link.bean
 * file_name:UserInfo.java
 * @author Link
 * create_date:2015年11月17日 下午2:23:30
 * modified_date:
 * description:映射到springmvc实体类
 *
 */
public class UserInfo {

	private String username;
	private String userpass;
	private Character sex;
	private String[] hobbies;
	private String country;
	
	public UserInfo() {
		super();
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserpass() {
		return userpass;
	}

	public void setUserpass(String userpass) {
		this.userpass = userpass;
	}

	public Character getSex() {
		return sex;
	}

	public void setSex(Character sex) {
		this.sex = sex;
	}

	public String[] getHobbies() {
		return hobbies;
	}

	public void setHobbies(String[] hobbies) {
		this.hobbies = hobbies;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	@Override
	public String toString() {
		return "UserInfo [username=" + username + ", userpass=" + userpass
				+ ", sex=" + sex + ", hobbies=" + Arrays.toString(hobbies)
				+ ", country=" + country + "]";
	}	
	
}
